import { eLayoutType, RoutesService } from '@abp/ng.core';
import { APP_INITIALIZER } from '@angular/core';
import { eBasicArchivesRouteNames } from '../enums/route-names';

export const BASIC_ARCHIVES_ROUTE_PROVIDERS = [
  {
    provide: APP_INITIALIZER,
    useFactory: configureRoutes,
    deps: [RoutesService],
    multi: true,
  },
];

export function configureRoutes(routesService: RoutesService) {
  return () => {
    routesService.add([
      // {
      //   path: '/basic-archives',
      //   name: eBasicArchivesRouteNames.BasicArchives,
      //   iconClass: 'fas fa-book',
      //   layout: eLayoutType.application,
      //   order: 3,
      // },
    ]);
  };
}
